{include file="public/header" /}
<body>
<div class="x-body">
    <form action="{:url('save')}" class="layui-form" id="form">
        <input type="hidden" name="type" value="{$type}"/>
        <div class="layui-form-item">
            <label class="layui-form-label">{$title}</label>
            <div class="layui-input-block">
                <input type="text" name="title" value=""
                       placeholder="请输入{$title}" lay-verify="required"  class="layui-input"/>
            </div>
        </div>
        
        <div class="layui-form-item">
            <label class="layui-form-label">排序</label>
            <div class="layui-input-block">
                <input type="text" name="sort" value="{$sort}"
                       placeholder="请输入排序" lay-verify="required"  class="layui-input"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"></label>
            <button class="layui-btn" lay-filter="save" lay-submit formObj="#form">
                保存
            </button>
        </div>
    </form>
</div>
</body>
{include file="public/footer" /}
</html>